package com.af.security.mgt.account.register.token;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author : zhenyun.su
 * @since : 2019/6/25
 */

@Repository
public interface UserRegisterTokenRepository extends JpaRepository<UserRegisterToken, String> {
    List<UserRegisterToken> findByUserId(Long userId);
}
